package org.example.demo;


/*
*  文字版格斗游戏,
*   每个游戏角色的姓名血量都不一样.  new的时候就确定
* 
* */
public class TestString1 {
    public static void  main(String[] args){
        System.out.printf("张三你好%s",",我是李四");

        TestString1JavaBeanRole qiaofeng =   new TestString1JavaBeanRole("乔峰",100);
        TestString1JavaBeanRole ouyangxiu =   new TestString1JavaBeanRole("欧阳修",100);
        ouyangxiu.gongji(qiaofeng,50);
        ouyangxiu.gongji(qiaofeng,50);
    }
}